-
Notifications
You must be signed in to change notification settings - Fork 407
fix(patch): fix #746, check desc get is null and only patch window.resize additionally #747
Conversation
lib/common/utils.ts
Outdated
if (prop.substr(0, 2) == 'on') { | ||
onProperties.push(prop); | ||
} | ||
const prop = 'on' + properties[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have an explicit list rather than iterating over everything? The issue is that closure compiler creates lots of properties on the window with mangled names, and it is quite easy for them to start with on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, I will first add on resize and figure out what others are needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approve
@mhevery , I have updated my PR.
please review. thank you ! |
I tried the patch, it still gives the same error. Same steps to reproduce. Brand new project, ng serve, error. |
@JiaLiPassion it works! Thanks. |
is it fixed? which version? i tried downgrade from 0.8.8 to 0.8.5 and 0.8.4 but same issue as described in #6063 |
@JiaLiPassion, do you know when /dist folder is going to be updated? Thanks! |
@dkontorovskyy , it will be the next version release, please wait for a while. |
* Fixes console error caused by zone.js@0.8.8 * angular/angular-cli#6036 * angular/zone.js#747
fix #746,fix #741